package com.m7788.util;


import cn.jpush.android.api.JPushInterface;
import android.app.Application;

import com.umeng.commonsdk.UMConfigure;

public class SysApplication extends Application {
	@Override
	public void onCreate() {
		super.onCreate();
	    JPushInterface.init(this);
		UMConfigure.init(this,UMConfigure.DEVICE_TYPE_PHONE,null);
		Thread.setDefaultUncaughtExceptionHandler(new MyExceptionHanlder(
				this));
//		CrashHandler crashHandler = CrashHandler.getInstance();
//		crashHandler.init(getApplicationContext());
	}
}
